﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZhiJiao.Models.Entities;
using ZhiJiao.Models.Entities.Enums;

namespace ZhiJiao.Service.Dto
{
    /// <summary>
    ///  课程DTO
    /// </summary>
    [Serializable]
    public class CourseDto
    {
       public long? Id { get; set; }

       // 课程名称
       public string? Name { get; set; }

       // 课程类型
       public CourseType CourseType { get; set; }

       // 课时数
       public int? ClassCount { get; set; }

       /// <summary>
       /// 单节可持续时长
       /// </summary>
       public int? Duration { get; set; }

       // 主图Url
       public CourseImageDto? MainImage { get; set; }

       // 列表图片
       public CourseImageDto? ListImage { get; set; }

       // 详情图片
       public List<CourseImageDto> DetailImages { get; set; }

       // 简介
       public string? Introdution { get; set; }
    }
}
